#include <bits/stdc++.h>
using namespace std;

int read() {
    int x = 0, f = 1;
    char c = getchar();
    while (c < '0' || c > '9') {
        if (c == '-') f *= -1;
        c = getchar();
    }
    while (c >= '0' && c <= '9') {
        x = x * 10 + c - '0';
        c = getchar();
    }
    return x * f;
}

void print(int x) {
    if (x < 0) {
        putchar('-');
        x *= -1;
    }
    if (x > 9) print(x / 10);
    putchar(x % 10 + '0');
}
void el() {
    puts("");
}

int t[100005];

int main() {
    freopen("duel.in", "r", stdin);
    freopen("duel.out", "w", stdout);
    int n = read();
    for (int i = 1; i <= n; i++) {
        int a = read();
        t[a]++;
    }
    int unbeated = 0;
    for (int i = 1; i <= 100000; i++) {
        if (t[i]) {
            if (unbeated == 0) unbeated += t[i];
            else {
                if (unbeated <= t[i]) {
                    unbeated = t[i];
                }
            }
        }
    }
    print(unbeated);
    el();
    return 0;
}
